// 设置参数
var data = {
	labels: [
		"QQ",
		"网易云音乐",
		"支付宝",
		"微信",
		"bilibili",
		"谷歌浏览器",
		"饿了么"
	],
	datasets: [{
		data: [46,5,4,23,5,12,2],
		backgroundColor: [
			"#FF6384",
			"#36A2EB",
			"#FFCE56",
			"#20666B",
			"#E90E0E",
			"#E6BBBB",
			"#C6BBE6"
		],
		hoverBackgroundColor: [
			"#FF6384",
			"#36A2EB",
			"#FFCE56",
			"#20666B",
			"#E90E0E",
			"#E6BBBB",
			"#C6BBE6"
		]
	}]
};
setTimeout("X1();",3000);
function X1(){
	var ctx = document.getElementById("myChart").getContext("2d");
	var myBarChart = new Chart(ctx, {
		type: 'pie',
		data: data,
		// options: options
	});
}
// Get the context of the canvas element we want to select
